<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head th:fragment="myhead(title,links)">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
        <meta name="description" content="">
        <meta name="author" content="">
        <title th:replace="${title}">myhead</title>
        <!-- 引入公用 CSS -->
        <!-- Bootstrap core CSS -->
        <link href="asserts/css/bootstrap.min.css" th:href="@{/webjars/bootstrap/css/bootstrap.css}" rel="stylesheet">
        <!-- Font Awesome CSS -->
        <link href="asserts/css/font-awesome.min.css" th:href="@{/webjars/font-awesome/css/font-awesome.css}" rel="stylesheet">
        <!-- Layui CSS -->
        <!-- <link href="asserts/css/layui.css" th:href="@{/webjars/layui/css/layui.css}" rel="stylesheet"> -->
        <!-- common CSS -->
        <link type="text/css" href="asserts/css/common.css" th:href="@{/asserts/css/common.css}" rel="stylesheet">
        <!-- 引入自定义 CSS -->
        <th:block th:replace="${links}"/>
    </head>
<body>
    <div th:fragment="myscript(scripts)">
        <!-- 引入公共 JS -->
        <!-- Jquery JS -->
        <script type="text/javascript" src="asserts/js/jquery-3.2.1.slim.min.js" th:src="@{/webjars/jquery/jquery.js}"></script>
        <!-- Bootstrap core JS -->
        <script type="text/javascript" src="asserts/js/bootstrap.min.js" th:src="@{/webjars/bootstrap/js/bootstrap.js}"></script>
        <!-- Popper JS -->
        <script type="text/javascript" src="asserts/js/popper.min.js" th:src="@{/webjars/popper.js/umd/popper.js}"></script>
        <!-- 引入自定义 JS -->
        <th:block th:replace="${scripts}"/>
    </div>
</body>
</html>